console.log('-------------')
console.log('test11')

function* gen(){
    yield 1
    yield 2
    yield 3
}
var g = gen()
console.log(g.next())   // Object {value: 1, done: false}
console.log(g.return('foo'))    // Object {value: "foo", done: true}
